package com.javasvip.web.service;

import org.springframework.stereotype.Component;

@Component  // 别忘了这个注解，还应该被扫描到
public class CodeFallback implements CodeService {
    @Override
    public Integer findDefaultResumeState(String email, String password) {
        System.out.println("降级");
        return 1;
    }
}
